<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基础知识</title>
	<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
	<link href="https://cdn.bootcdn.net/ajax/libs/animate.css/3.2.3/animate.css" rel="stylesheet">
	<link rel="stylesheet" href="./css/css.css" media="all">
	<link rel="stylesheet" type="text/css" href="../../static/css/public.css" />
</head>
<body>
	<!--右边内容-->
	<div id="app" class="main animated fadeInRight">
		<div class="shadow">
			<div>
				<h4>旋转菜单</h4>
				<pre>
	html { background-color: #CCC; }
	.container {
	    margin: 30px auto;
	    width: 90%;
	}
	
	.menu, .menu ul {
	    list-style: none;
	    padding: 0;
	    margin: 0;
	}
	.menu {
	    height: 58px;
	}
	.menu li {
	    background: -ms-linear-gradient(#292929, #252525);
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #252525));
	    background: -webkit-linear-gradient(#292929, #252525);
	    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#252525');
	    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#252525')";
	    background: linear-gradient(#292929, #252525);
	    border-bottom: 2px solid #181818;
	    border-top: 2px solid #303030;
	    min-width: 160px;
	}
	.menu > li {
	    display: block;
	    float: left;
	    position: relative;
	}
	.menu > li:first-child {
	    border-radius: 5px 0 0;
	}
	.menu a {
	    border-left: 3px solid rgba(0, 0, 0, 0);
	    color: #808080;
	    display: block;
	    font-family: 'Lucida Console';
	    font-size: 18px;
	    line-height: 54px;
	    padding: 0 25px;
	    text-decoration: none;
	    text-transform: uppercase;
	}
	
	.menu li:hover {
	    background-color: #1c1c1c;
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1c1c1c), color-stop(100%, #1b1b1b));
	    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1c1c1c', endColorstr='#1b1b1b');
	    background: linear-gradient(#1c1c1c, #1b1b1b);
	    border-bottom: 2px solid #222222;
	    border-top: 2px solid #1B1B1B;
	}
	.menu li:hover > a {
	    border-radius: 5px 0 0 0;
	    border-left: 3px solid #C4302B;
	    color: #C4302B;
	}
	
	.submenu {
	    left: 0;
	    max-height: 0;
	    position: absolute;
	    top: 100%;
	    z-index: 0;
	    perspective: 400px;
	}
	.submenu li {
	    opacity: 0;
	    transform: rotateY(90deg);
	    transition: opacity .4s, transform .5s;
	}
	.menu .submenu li:hover a {
	    border-left: 3px solid #454545;
	    border-radius: 0;
	    color: #ffffff;
	}
	.menu > li:hover .submenu, .menu > li:focus .submenu {
	    max-height: 2000px;
	    z-index: 10;
	}
	.menu > li:hover .submenu li, .menu > li:focus .submenu li {
	    opacity: 1;
	    transform: none;
	}
	
	.menu li:hover .submenu li:nth-child(1) {
	    transition-delay: 0s;
	}
	.menu li:hover .submenu li:nth-child(2) {
	    transition-delay: 50ms;
	}
	.menu li:hover .submenu li:nth-child(3) {
	    transition-delay: 100ms;
	}
	.menu li:hover .submenu li:nth-child(4) {
	    transition-delay: 150ms;
	}
	.menu li:hover .submenu li:nth-child(5) {
	    transition-delay: 200ms;
	}
	.menu li:hover .submenu li:nth-child(6) {
	    transition-delay: 250ms;
	}
	.menu li:hover .submenu li:nth-child(7) {
	    transition-delay: 300ms;
	}
	.menu li:hover .submenu li:nth-child(8) {
	    transition-delay: 350ms;
	}
	
	.submenu li:nth-child(1) {
	    transition-delay: 350ms;
	}
	.submenu li:nth-child(2) {
	    transition-delay: 300ms;
	}
	.submenu li:nth-child(3) {
	    transition-delay: 250ms;
	}
	.submenu li:nth-child(4) {
	    transition-delay: 200ms;
	}
	.submenu li:nth-child(5) {
	    transition-delay: 150ms;
	}
	.submenu li:nth-child(6) {
	    transition-delay: 100ms;
	}
	.submenu li:nth-child(7) {
	    transition-delay: 50ms;
	}
	.submenu li:nth-child(8) {
	    transition-delay: 0s;
	}				
				</pre>
			</div>
			<div>
				<h4></h4>
				<div class="container">
					<ul class="menu">
						<li><a href="">主页</a></li>
						<li><a href="#">菜单一</a>
							<ul class="submenu">
								<li><a href="#">子菜单A</a></li>
								<li><a href="#">子菜单B</a></li>
								<li><a href="#">子菜单C</a></li>
								<li><a href="#">子菜单D</a></li>
								<li><a href="#">子菜单E</a></li>
								<li><a href="#">子菜单F</a></li>
								<li><a href="#">子菜单G</a></li>
								<li><a href="#">子菜单H</a></li>
							</ul>
						</li>
						<li><a href="#">菜单三</a>
							<ul class="submenu">
								<li><a href="#">子菜单A</a></li>
								<li><a href="#">子菜单B</a></li>
								<li><a href="#">子菜单C</a></li>
								<li><a href="#">子菜单D</a></li>
								<li><a href="#">子菜单E</a></li>
								<li><a href="#">子菜单F</a></li>
								<li><a href="#">子菜单G</a></li>
								<li><a href="#">子菜单H</a></li>
							</ul>
						</li>
						<li><a href="">返回教程</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<!--页面加载进度条-->
	<script src="https://cdn.bootcdn.net/ajax/libs/pace/0.5.0/pace.min.js"></script>
</body>

</html>